package cn.cupk.logsystem;

import cn.cupk.logsystem.log.*;
import cn.cupk.logsystem.log.factoryPattern.ConsoleHandler;
import cn.cupk.logsystem.log.factoryPattern.FileHandler;
import cn.cupk.logsystem.log.observerPattern.Logger;
import cn.cupk.logsystem.log.singletonpattern.LogManager;
import cn.cupk.logsystem.log.strategypattren.SimpleFormatter;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

import java.io.IOException;

@SpringBootApplication
@MapperScan("cn.cupk.logsystem.mapper")
public class LogSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(LogSystemApplication.class, args);
    }

}
